package beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author:zhengyilong
 * @email:1797344574@qq.com
 * @phone:13479394730
 * @desc:
 * @DateTime:2022/5/14 16:59
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
//因为java无法返回多个返回值，故用实体类对需要返回的多个值进行封装
//该实体类专用于在寻找随机数害时返回
public class NonceAndHash {
    private long nonce;
    private byte[] hash;
}

